package com.xkcyy.study.spring.d02_aop;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * UserTransService
 *
 * @author yuand
 * @date 2021/6/4
 **/
@Service
public class UserTransService {

    @Transactional(rollbackFor = Exception.class)
    public void get() {

    }
}



